<?php /* Smarty version Smarty-3.1.13, created on 2016-11-25 15:37:00
         compiled from ".\templates\create_question.html" */ ?>
<?php /*%%SmartyHeaderCode:220985837ea1cafe724-81715957%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e65de12f457543f11ff9990dd4872293b72a17a7' => 
    array (
      0 => '.\\templates\\create_question.html',
      1 => 1479111763,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '220985837ea1cafe724-81715957',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'k' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5837ea1cb219a0_42863930',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5837ea1cb219a0_42863930')) {function content_5837ea1cb219a0_42863930($_smarty_tpl) {?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta content="telephone=no" name="format-detection">
    <meta name="format-detection" content="email=no">

    <title></title>
    <link href="http://f3.v.veimg.cn/wams/xz_smile_activity/css/index.css" rel="stylesheet" type="text/css" />
    <script src="http://f3.v.veimg.cn/f2e/gallery/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<!--首页部分-->
<form action="index.php?a=saveQuestion" method="post">
    题目类别：<select name="type">
                <option value ="1">1</option>
                <option value ="2">2</option>
            </select><br />
    关卡名称:<select name="question_id">
                <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
                    <option value ="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</option>
                <?php } ?>
              </select><br />
    题目：<input type="test" name="question" style="width:1800px;" /><br />
    答案A：<input type="test" name="question_a" style="width:1800px;" /><br />
    答案B：<input type="test" name="question_b" style="width:1800px;" /><br />
    答案C：<input type="test" name="question_c" style="width:1800px;" /><br />
    答案D：<input type="test" name="question_d" style="width:1800px;" /><br />
    答案解析：<input type="test" name="answer_key" style="width:1800px;" /><br />
    正确答案：<select name="answer">
                <option value ="A">A</option>
                <option value ="B">B</option>
                <option value ="C">C</option>
                <option value ="D">D</option>
              </select><br />
    <input type="submit" value="创建" />
</form>

<!--弹出层-->
<script type="text/javascript" src="http://f3.v.veimg.cn/wams/xz_smile_activity/js/index.js"></script>
</body>
</html><?php }} ?>